<%--
  Created by IntelliJ IDEA.
  User: xiaohuang
  Date: 2022/1/7
  Time: 20:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html><!-- 这是网站的添加界面 -->
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
    <style>
        .menu {font-weight:bold; font-size:1em; padding:2em}
        tr {line-height:2.5em}
    </style>
</head>
<body style="background-image: url(picture/add.png) ;background-repeat: no-repeat;background-size: 1240px 650px" >
<div style='text-align:center;padding:0.7em'><h1>西大电影网</h1></div>
<div style='text-align:center;padding:0.7em;margin-left: -450px'>
    <span class='menu' ><a href='./home_page.html'>返回</a></span>
    <span class='menu'><a href='./index.jsp'>管理</a></span>
</div>
<br>
<div style="margin-left: 150px">
    <form action="./AddMoviesServlet" method="POST" >
        <table style='background-color:lightslategrey;padding:2em'>
            <tr ><td>电影名:</td><td><input type='text' name='name' value=''></td></tr>
            <tr><td>演员:</td><td><input type='text' name='actors'  value=''></td></tr>
            <tr><td>类别: </td><td>
                <select name="tp">
                    <option value='adventure'>冒险
                    <option value='fiction'>科幻
                    <option value='love'>爱情
                    <option value='comedy'>喜剧
                    <option value='cartoon'>动画
                    <option value='suspense'>悬疑
                </select>
            </td></tr>
            <tr><td>评分: </td><td><input type='text' name='score'  value=''></td></tr>
            <tr><td>价格: </td><td><input type='text' name='price'  value=''></td></tr>
            <tr><td>图片链接: </td><td><input type='text' name='pic' value=''></td></tr>
            <tr><td>描述: </td><td><textarea name="describe" cols="50" rows="5"></textarea></td></tr>
            <tr><td colspan="2" align="center"><br><input type='submit' value="添加电影"></td></tr>
        </table>
    </form>
</div>

</body>
</html>
